package cn.dev.admin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author LiuRenGang
 * @date 2022/07/05 13:22
 **/
@Data
@Configuration
@ConfigurationProperties(prefix = "rabbitmq", ignoreUnknownFields = true)
public class RabbitProperties {

    private String host;

    private int port;

    private String username;

    private String password;

    private String vhosts;
}
